package com.hydra.auth.controller;

import com.hydra.auth.dto.SysRoleMenuQueryDto;
import com.hydra.auth.entity.SysRoleMenu;
import com.hydra.auth.mapper.SysRoleMenuMapper;
import com.hydra.auth.repository.SysRoleMenuService;
import com.hydra.base.controller.BaseController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 系统角色菜单的控制器
 * @Author Hydra
 * @Date 2023/12/21 17:42
 */
@Slf4j
@RequestMapping("/api/auth/role/menu/")
@RestController
public class SysRoleMenuController extends BaseController<SysRoleMenuQueryDto, SysRoleMenu, SysRoleMenuMapper, SysRoleMenuService> {

    @Autowired
    public SysRoleMenuController(SysRoleMenuService repository){
        super.setRepository(repository);
    }

}
